import java.math.BigDecimal;


public class Packet {

	String packetNumber;
	float arrivalTime;
	long totalSize;
	String srcIPAddr;
	/**
	 * @return the srcIPAddr
	 */
	public String getSrcIPAddr() {
		return srcIPAddr;
	}

	/**
	 * @param srcIPAddr the srcIPAddr to set
	 */
	public void setSrcIPAddr(String srcIPAddr) {
		this.srcIPAddr = srcIPAddr;
	}

	/**
	 * @return the destIPAddr
	 */
	public String getDestIPAddr() {
		return destIPAddr;
	}

	/**
	 * @param destIPAddr the destIPAddr to set
	 */
	public void setDestIPAddr(String destIPAddr) {
		this.destIPAddr = destIPAddr;
	}

	/**
	 * @return the mainProtocol
	 */
	public String getMainProtocol() {
		return mainProtocol;
	}

	/**
	 * @param mainProtocol the mainProtocol to set
	 */
	public void setMainProtocol(String mainProtocol) {
		this.mainProtocol = mainProtocol;
	}

	/**
	 * @return the subProtocol
	 */
	public String getSubProtocol() {
		return subProtocol;
	}

	/**
	 * @param subProtocol the subProtocol to set
	 */
	public void setSubProtocol(String subProtocol) {
		this.subProtocol = subProtocol;
	}

	/**
	 * @return the port
	 */
	public String getPort() {
		return port;
	}

	/**
	 * @param port the port to set
	 */
	public void setPort(String port) {
		this.port = port;
	}

	String destIPAddr;
	String mainProtocol;
	String subProtocol;
	String port;
	public void packet()
	{
		packetNumber = "";
		arrivalTime = 0;
		totalSize =0;
		srcIPAddr = "";
		destIPAddr = "";
		mainProtocol = "";
		subProtocol ="";
	}

	/**
	 * @return the packetNumber
	 */
	public String getPacketNumber() {
		return packetNumber;
	}

	/**
	 * @param packetNumber the packetNumber to set
	 */
	public void setPacketNumber(String packetNumber) {
		this.packetNumber = packetNumber;
	}

	/**
	 * @return the arrivalTime
	 */
	public float getArrivalTime() {
		return arrivalTime;
	}

	/**
	 * @param arrivalTime the arrivalTime to set
	 */
	public void setArrivalTime(float arrivalTime) {
		this.arrivalTime = arrivalTime;
	}

	/**
	 * @return the totalSize
	 */
	public long getTotalSize() {
		return totalSize;
	}

	/**
	 * @param totalSize the totalSize to set
	 */
	public void setTotalSize(long totalSize) {
		this.totalSize = totalSize;
	}
	
	
	
	
	
}